package com.wwy.monitor.common;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class BizLogFactory {

    /**
     * 根据日志级别获取logger
     * @param loggerEnum
     * @return
     */
    public static Logger getLogger(LoggerEnum loggerEnum) {
        return LoggerFactory.getLogger(loggerEnum.getName());
    }
}
